package com.hcc.cpwxdemo.biz;

import com.hcc.cpwxdemo.dto.QyWxAppDTO;
import com.hcc.cpwxdemo.service.QyWxAppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hcc
 */
@Service
public class QyWxAppBiz {


    @Autowired
    private QyWxAppService qyWxAppService;

    /**
     * 根据企业id 应用id 获取 应用配置信息
     *
     * @param corpId  corpId
     * @param agentId agentId
     * @return QyWxAppDTO
     */
    public QyWxAppDTO getDtoByCorpIdAndAgentId(String corpId, Integer agentId) {

        return qyWxAppService.getDtoByCorpIdAndAgentId(corpId, agentId);
    }

}
